//system model settings

package controlSoftware.DataProcess;

import controlSoftware.GUI.Map;
import controlSoftware.GUI.mainUI;

public class SysModel {

	public static final double gravity = 418; 
	
	//sensitivity [V/g]
	public final static double ax_sens = 0.301152;
	public final static double ay_sens = 0.304065;
	
	//bias [V]
	public final static double ax_bias = 1.5; 
	public final static double ay_bias = 1.5;

	//time in ms
	public final static int sampleTime = 120;
	
	public final static Velocity initVelocity = new Velocity (0,0);
	//public final static Coordinate initCoordinate = new Coordinate (mainUI.mainCanvas.getSize().width/2,mainUI.mainCanvas.getSize().height/2);
	public final static Coordinate initCoordinate = new Coordinate (0, 0);
	public static final SensorData zeroPt = new SensorData(0l,0d,0d,0d,0d,0d,0d);	
	
	// rendering ratios [px/m]
	public static float definedMapRatio = 0;
	public static float compression_ratio = 0;
	public static int mapCenter_x = (int)(mainUI.mainCanvas.getWidth() / 2);
	public static int mapCenter_y = (int)(mainUI.mainCanvas.getHeight() / 2);
	
	// g value [m/ss]
	public final static double g = 9.807;
	public static final double nx_mean = 0.020282196;
	public static final double ny_mean = 0.14772704;
	
	public static final double nx_var = 0.031208132;
	public static final double ny_var = 0.02668521;
	
	public static double ax_offset = 0;
	public static double ay_offset = 0;
	public static boolean isInitState = true;
	
	//control var
	public static boolean blnShowGrid = false;
	
	

}
